<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/inc/taglib.jsp"%>
<div class="pageContent">
	<form method="post" action="${pageContext.request.contextPath}${requestScope.upRecord ==null ?'/investment/handover/insert' :'/investment/handover/update' }" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<!-- 关闭窗口 -->
			<input type="hidden" name="callbackType" value="closeCurrent" />
			<!-- 隐藏表单 -->
			
			<c:if test="${requestScope.record !=null}">
																	
					<input type="hidden" name="id" value="${requestScope.record.id}" />
																																																																																																																																																																																																																																																																																																																																																																																																																																											
			</c:if>
								<p>
					<input ${requestScope.upRecord!=null?'readonly="true"':''}  name="imfid" class="" maxlength="50" type="hidden" value="${requestScope.record.imfid}"  />
				</p>
								<p>
					<label>业主姓名</label> <input readonly="true"  name="name" class="" maxlength="20" type="text" value="${requestScope.record.name}"  />
				</p>
								<p>
					<label>年龄</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="age" class="" maxlength="11" type="text" value="${requestScope.record.age}"  />
				</p>
								<p>
					<label>业主性格</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="cacr" class="" maxlength="50" type="text" value="${requestScope.record.cacr}"  />
				</p>
								<p>
					<label>业主职业</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="carr" class="" maxlength="50" type="text" value="${requestScope.record.carr}"  />
				</p>
								<p>
					<label>联系电话</label> <input readonly="true" name="phone" class="" maxlength="11" type="text" value="${requestScope.record.phone}"  />
				</p>
								<p>
					<label>QQ</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="qq" class="" maxlength="11" type="text" value="${requestScope.record.qq}"  />
				</p>
								<p>
					<label>经营方式</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="optw" class="" maxlength="50" type="text" value="${requestScope.record.optw}"  />
				</p>
								<p>
					<label>店铺级别</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="stle" class="" maxlength="50" type="text" value="${requestScope.record.stle}"  />
				</p>
								<p>
					<label>是否有店铺</label> 
					<input ${requestScope.upRecord!=null?'disabled':''} name="issp" class="required" maxlength="11" type="radio" value="0" ${requestScope.record.issp==0?'checked="checked"':''} />否
					<input ${requestScope.upRecord!=null?'disabled':''} name="issp" class="required" maxlength="11" type="radio" value="1" ${requestScope.record.issp==1?'checked="checked"':''}/>是
				</p>
								<p>
					<label>客户来源</label> <input readonly="true" name="source" class="" maxlength="100" type="text" value="${requestScope.record.source}"  />
				</p>
								<p>
					<label>店铺面积（dm2）</label> 
					<input ${requestScope.upRecord!=null?'readonly="true"':''} name="ftae" class="" maxlength="11" type="text" value="${requestScope.record.ftae}"  />
				</p>
								<p>
					<label>有无图纸</label> 
					<input ${requestScope.upRecord!=null?'disabled':''} name="isdw" class="required" maxlength="11" type="radio" value="0" ${requestScope.record.isdw==0?'checked="checked"':''}  />无
					<input ${requestScope.upRecord!=null?'disabled':''} name="isdw" class="required" maxlength="11" type="radio" value="1" ${requestScope.record.isdw==1?'checked="checked"':''}  />有
				</p>
								<p>
					<label>图纸设计日期</label> 
					<input ${requestScope.upRecord!=null?'readonly="true"':''} name="dstm" class="required date" maxlength="${field.size}" type="text" value="<fmt:formatDate value="${record.dstm}" pattern="yyyy-MM-dd" />"  />
				</p>
								<p>
					<label>预计开业时间</label> 
					<input ${requestScope.upRecord!=null?'readonly="true"':''} name="eptm" class="required date" maxlength="${field.size}" type="text" value="<fmt:formatDate value="${record.eptm}" pattern="yyyy-MM-dd" />"  />
				</p>
								<p>
					<label>地址</label> 
					<input ${requestScope.upRecord!=null?'readonly="true"':''} name="addr" class="" maxlength="100" type="text" value="${requestScope.record.addr}"  />
				</p>
								<p>
					<label>客户说明</label> 
					<input ${requestScope.upRecord!=null?'readonly="true"':''} name="eptn" class="" maxlength="200" type="text" value="${requestScope.record.eptn}"  />
				</p>
								<p>
					<label>招商经理</label>
					<input ${requestScope.upRecord!=null?'readonly="true"':''} name="imid" class="" maxlength="50" type="text" value="${requestScope.record.imid}"  />
				</p>
								<p>
					<label>区域经理</label> 
					<input ${requestScope.upRecord!=null?'readonly="true"':''} name="rgid" class="" maxlength="50" type="text" value="${requestScope.record.rgid}"  />
				</p>
								<p>
					<label>运营助理</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="opid" class="" maxlength="50" type="text" value="${requestScope.record.opid}"  />
				</p>
								<p>
					<label>人员下派问题</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="sdpb" class="" maxlength="200" type="text" value="${requestScope.record.sdpb}"  />
				</p>
								<p>
					<label>进货返点服务</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="icrs" class="" maxlength="200" type="text" value="${requestScope.record.icrs}"  />
				</p>
								<p>
					<label>运费承担问题</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="fipb" class="" maxlength="200" type="text" value="${requestScope.record.fipb}"  />
				</p>
								<p>
					<label>星配调换问题</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="mcpb" class="" maxlength="200" type="text" value="${requestScope.record.mcpb}"  />
				</p>
								<p>
					<label>人员培训问题</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="tapb" class="" maxlength="200" type="text" value="${requestScope.record.tapb}"  />
				</p>
								<p>
					<label>招商促销方案</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="pmtn" class="" maxlength="200" type="text" value="${requestScope.record.pmtn}"  />
				</p>
								<p>
					<label>合作协议</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="cpam" class="" maxlength="500" type="text" value="${requestScope.record.cpam}"  />（补充条款）
				</p>
								<p>
					<label>合同编号</label> <input ${requestScope.upRecord!=null?'readonly="true"':''}name="ctno" class="required" maxlength="50" type="text" value="${requestScope.record.ctno}"  />
				</p>
								<p>
					<label>保证金</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="mrgn" class="" maxlength="11" type="text" value="${requestScope.record.mrgn}"  />
				</p>
								<p>
					<label>报销费用</label> <input ${requestScope.upRecord!=null?'readonly="true"':''}name="rbmt" class="" maxlength="11" type="text" value="${requestScope.record.rbmt}"  />
				</p>
								<p>
					<label>管理费</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="mgmt" class="" maxlength="11" type="text" value="${requestScope.record.mgmt}"  />
				</p>
								<p>
					<label>附件（合同件）</label> <input ${requestScope.upRecord!=null?'readonly="true"':''}name="anex" class="" maxlength="500" type="text" value="${requestScope.record.anex}"  />
				</p>
								<p>
					<label>地区名称</label> <input readonly="true" name="areaName" class="" maxlength="100" type="text" value="${requestScope.record.areaName}"  />
				</p>
								<p>
					<label>地区编号</label> <input readonly="true" name="areaCode" class="" maxlength="100" type="text" value="${requestScope.record.areaCode}"  />
				</p>
								<p>
					<label>审核备注</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="rvrm" class="" maxlength="200" type="text" value="${requestScope.record.rvrm}"  />
				</p>
								<p>
					<label>品牌授权费</label> <input ${requestScope.upRecord!=null?'readonly="true"':''} name="auth" class="" maxlength="11" type="text" value="${requestScope.record.auth}"  />
				</p>
						
		<c:if test="${requestScope.upRecord!=null }">
					<h3>合同状态：</h3> 
					<input name="state" class="required" maxlength="11" type="radio" value="1" ${requestScope.record.state==1?'checked="checked"':''}  />申请移交
					<input name="state" class="required" maxlength="11" type="radio" value="2" ${requestScope.record.state==2?'checked="checked"':''}  />移交成功
					<input name="state" class="required" maxlength="11" type="radio" value="3" ${requestScope.record.state==3?'checked="checked"':''}  />移交失败
		</c:if>
		</div>
		
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit" >保存</button>
						</div>
					</div></li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
